package com.john.bms.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author:张家小帅哥
 * @Date:2020/9/21 10:05
 * @Version:1.0
 * @Description:自定义注解,用来跳过验证的NoToken
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface NoToken {

    boolean required() default true;

}
